<{include file="admin:common/header.html"}>
<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="30" align="right"><img src="<{$pager.url}>/images/main-h5-ico.gif" alt="" /></td>
        <th><{$MOD.title}></th>
        <td align="right"><{link ctl="weixin/goldeggsn:index" priv="hidden" class="button"}></td>
        <td width="15"></td>
      </tr>
    </table>
</div>
<div class="page-data"><form action="?weixin/goldeggsn-edit.html" mini-form="goldeggsn-form" method="post" >
<table width="100%" border="0" cellspacing="0" class="table-data form">
<input type="hidden" name="sn_id" value="<{$detail.sn_id}>"/>
<tr>
    <th>所属会员：</th>
    <td>
        <input type="hidden" name="data[uid]" value="<{$detail.uid}>" id="company_member_id" />
        <input type="text" value="<{$detail.member}>" id="company_member_uname" class="input w-300"/>
        <{link ctl="member/member:dialog" arg0="member" select="mini:#company_member_id,#company_member_uname/N/选择用户" title="选择用户" class="button"}>
    </td>
</tr>
<tr><th>微信号：</th><td><input type="text" name="data[wx_id]" value="<{$detail.wx_id|default:''}>" class="input w-300"/></td></tr>
<tr><th>openid：</th><td><input type="text" name="data[openid]" value="<{$detail.openid|default:''}>" class="input w-300"/></td></tr>
<tr><th>昵称：</th><td><input type="text" name="data[nickname]" value="<{$detail.nickname|default:''}>" class="input w-300"/></td></tr>
<tr><th>sn号：</th><td><input type="text" name="data[sn]" value="<{$detail.sn|default:''}>" class="input w-300"/></td></tr>
<tr>
	<th>是否使用</th>
	<td>
	<ul class="group-list">
		<li><label><input type="radio" name="data[is_use]" value="0" <{if !$detail.is_use}>checked="checked"<{/if}>>未使用</label></li>
    	<li><label><input type="radio" name="data[is_use]" value="1" <{if $detail.is_use == 1}>checked="checked"<{/if}>>已使用</label></li>
		<div class="clear-both"></div>
	</ul>
	</td>
</tr>

<tr><th>使用时间：</th><td><input type="text" name="data[use_time]" value="<{$detail.use_time|format:'Y-m-d'}>" class="input w-100" date="use_time" readonly/></td></tr>
<tr><th>奖品等级：</th><td><input type="text" name="data[prize]" value="<{$detail.prize|default:''}>" class="input w-300"/></td></tr>
    <tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
</table>
</form></div>

<{include file="admin:common/footer.html"}>